package cn.javaxc.mvcwork.framework.database;
import cn.javaxc.mvcwork.util.common.DatabaseUtils;
import java.sql.*;
import java.util.Map;
import org.apache.log4j.Logger;


public interface  ConnectionPool 
{ 
	public void init(Map<String,String> prefs);
	public Connection getConnection() throws SQLException;
	public Connection getConnection(ConnectionElement ce) throws SQLException;
	public void free(Connection db);
	public void closeAllConnections();
}
